package com.zfzs.post.service;

import com.zfzs.post.model.dto.QueryTerAvgTransactionDTO;
import com.zfzs.post.model.vo.transaction.TerAvgTransactionVO;
import com.zfzs.post.model.vo.transaction.TerSumTransactionVO;

import java.util.List;
import java.util.Map;

/**
 * @author wq
 * @date 2019/10/16 16:49
 * @description
 */
public interface TransactionService {

    /**
     * 台均交易
     * @param dto
     * @return
     */
    List<TerAvgTransactionVO> findTerAvgTransaction(QueryTerAvgTransactionDTO dto);

    /**
     * 总交易额
     * @param dto
     * @return
     */
    List<TerSumTransactionVO> findTerSumTransaction(QueryTerAvgTransactionDTO dto);

    /**
     * 台均统计
     * @param params
     * @return
     */
    Map<String, Object> findTranStatistics(Map<String, String> params);

    /**
     * 总交易额统计
     * @param params
     * @return
     */
    Map<String, Object> getTranSumStatistics(Map<String, String> params);
}
